qinglan.Canvas.BulletFactory = qinglan.Canvas.Class(function(id) {

	this.id = id;

	this.opt = null;

}).methods({
	setOption: function(opt) {
		this.opt = qinglan.Extend.simple({
			id: qinglan.Canvas.BulletFactory.id++,
			spellCard: {},
			trajectory: {},
			tween: {},
			bullet: {}
		}, opt, 1);
	},
	createBullets: function() {
		throw 'The createBullets function must be implemented!';
	},
	createTrajectorys: function() {
		throw 'The createTrajectorys function must be implemented!';
	},
	createHelper: function() {
		throw 'The createHelper function must be implemented!';
	},
	createSpellCard: function() {
		throw 'The createSpellCard function must be implemented!';
	}
}).statics({
	id: 0
});
